package ar.edu.unq.mongodbexample.model;

import com.google.code.morphia.annotations.Entity;

/**
 * Subclasificacion de Person que representa un estudiante
 * 
 * @author Nicolas Faure
 */
@Entity(value="Students",noClassnameStored=true)
public class Student extends Person {
	private int studentId;
	public Student() {
    	
    }
    public Student(final int dniNumber,final int studentId,final String lastName, final String name, final String email) {
    	super(dniNumber,lastName,name,email);
    	this.setStudentId(studentId);
    }
	public int getStudentId() {
		return studentId;
	}
	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}

}